<?php
include(dirname(__FILE__).'/../bootstrap/unit.php');
 
new sfDatabaseManager(ProjectConfiguration::getApplicationConfiguration('modulo2', 'test', true));
$loader = new sfPropelData();
$loader->loadData(sfConfig::get('sf_data_dir').'/fixtures');


$t = new lime_test(5, new lime_output_color());
 
// begin testing your model class
$t->diag('->retrieveByPK()');
$user = new Requerimiento();

$t->isa_ok($user->getTablaP(1), 'string', '->getTablaP() es string');
$t->isa_ok($user->getTabla1(1), 'string', '->getTabla1($id) es string');
$t->isa_ok($user->getTabla(1), 'string', '->getTabla($id) es string');
$t->isa_ok($user->getTablaSR(1), 'string', '->getTablaP() es string');
$t->isa_ok($user->getTablaP(1), 'string', '->getTablaP() es string');